package www.dashu.com.auth.component;

import www.dashu.com.service.SysPermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component
public class ResourceRoleRulesHolder
{

    @Autowired
    SysPermissionService permissionService;

    @PostConstruct
    public void init(){
        permissionService.initResourceRolesMap();

        permissionService.initTableIds();
    }

}
